package cn.backpackerxl.model;
import cn.backpackerxl.easyJDBC.annotation.*;
import cn.backpackerxl.easyJDBC.util.JSON;
import cn.backpackerxl.easyJDBC.util.IdType;
/**
 * @Author: backpackerxl
 * CreateTime: 2022/11/24
 * FileName: t_teacher
 **/
@Table(value="t_teacher",dev = true,show = true)
public class Teacher {
	@Id(strategy = IdType.AUTO)
	private long id;
	private String name;
	private String information;
	private boolean flag;
	private String sex;
	private int classTime;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getInformation() {
		return information;
	}

	public void setInformation(String information) {
		this.information = information;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public int getClassTime() {
		return classTime;
	}

	public void setClassTime(int classTime) {
		this.classTime = classTime;
	}

	@Override
	public String toString() {
		return JSON.stringify(this);
	}
}